package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author げっしょく
 * @date 2021/11/22
 */
@Mapper
public interface WmMaterialMapper extends BaseMapper<WmMaterial> {

//    @Select("select * from wm_material where user_Id = 111")
    List<WmMaterial> getListIV1(@Param("index") Integer index, @Param("size") Integer size, @Param("userId") Integer userId);

//    @Delete("delete from wm_material where id = 999")
    void AAA();

}
